﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;

namespace Browser
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request["login"] != null)
                lblEnterUserName.Visible = true;
            else
                lblEnterUserName.Visible = false;
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Session["loggedin"] = true;
            Session["username"] = login.Text;

            Response.Redirect("upload.aspx");

        }
    }
}